<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="alb2b" uri="/WEB-INF/taglib/alb2b"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>易能旅游网站</title>
	<%@ include file="/pages/common/common_f.jsp" %>	
	
	<script type="text/javascript">
				
	</script>	
  </head>
  <body style="margin:0;padding:0;height:100%;overflow:scroll;background:#F2FBFF">
  	<div class="main">
		<jsp:include page="/pages/front/inc/header.jsp"></jsp:include><!-- 顶部导航 -->
		<div class="info">
			<span class="location"><span style="font-weight: bold;">位置：</span>首页>酒店信息列表</span>
			<span class="user"><jsp:include page="/pages/front/inc/login_info.jsp"/></span>
		</div>
		<div class="content">
			<div class="left">
				<jsp:include page="/country/queryAll.usr"></jsp:include><!-- 左侧国家 -->
			</div>
			<div class="right" id="right">
			<div style="margin: 5px;">
				<h2>城市列表</h2>
				<!-- 线路列表 -->	
				<table class="mytable" cellspacing="0">
					<thead>
					<tr>
						<th align="left">城市</th>
						<th align="right">下载</th>
					</tr>
					</thead>
					<tbody>
					<c:choose>
					<c:when test="${empty page.rows}">
					<tr>
						<td>暂时还没有城市信息</td>
					</tr>
					</c:when>
					<c:otherwise>
					<c:forEach items="${page.rows}" var="city" varStatus="s">
					<tr <c:if test="${s.count%2==0}">class="rowalt2"</c:if>>
						
						<td align="left">${city.cityCn}</td>
						<td align="right"><a href="${ctx}/${city.hotelPdf}">下载</a></td>
					</tr>
					</c:forEach>
					</c:otherwise>
					</c:choose>
					</tbody>
				</table>
				<div style="margin: 5px;text-align: right;"><alb2b:page url="${ctx}/hotel/queryMoreCity.usr?countryId=${countryId}&location=${location}"/></div>
				</div>		
			</div><!-- end right -->
			<div class="vertical-border"></div><!-- center border-line -->
		</div><!-- end content -->
	</div><!-- end main -->
<script type="text/javascript">	
	//表格tr鼠标飘过样式
	$(".mytable tbody tr").mouseover(function(){
		$(this).attr("style","background-color:#D0E5F5");
	});
	$(".mytable tbody tr").mouseout(function(){
		$(this).removeAttr("style");
	});
</script>

</body>

</html>
